package com.ruoyi.equipment.service;

import com.ruoyi.equipment.domain.DrawerVo;
import com.ruoyi.equipment.domain.MqttVo;

import java.util.ArrayList;

public interface MqttRuleService {
    //设备借出
//    Integer returnDrawer(String userLogId, String drawerId, String equipmentId, String drawerNo);

    //设备 弹出   失败 告诉 服务器 让服务器 修改日志 修改
    Integer popupError(String userLogId, String drawerId, String equipmentId, String drawerNo);

    //设备第一次连接 进行仓匣id 配置
    Integer newConnectSet(ArrayList<MqttVo> mqttVoList);

    //检查仓匣的状态和数据库是否一致
    Integer checkedDrawer(ArrayList<DrawerVo> drawerVoList);

  //设备归还
    Integer returnDrawer(String drawerId, String equipmentId, String drawerNo);
}
